#!/bin/bash
time=`date "+%F %X"`
echo "${time} windows98du start pid=$$" >> windows98du_logs.txt
uri='ws://139.159.218.3:9003'
echo "======================================" >> windows98du_logs.txt
jct windows98du $uri -monitor_tcp_port 9011 >> windows98du_logs.txt 2>&1 &
if [ $? == 0 ]
then 
    echo "${time} windows98du started pid=$!" >> windows98du_logs.txt
else
    echo "${time} windows98du start fail" >> windows98du_logs.txt
fi